Skip to content

Adhere to XDG base directory spec for dataDir and logDir #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 9, 2019
Merged

Adhere to XDG base directory spec for dataDir and logDir #156

merged 1 commit into from
Mar 9, 2019

Conversation

foresthoffman
Copy link
Contributor

Describe in detail the problem you had and how this PR fixes it

Data files (dataDir) and log files (logDir) were defaulting to a hidden dir (.code-server/) in the base of the user's home directory, based on their OS. This did not conform with the XDG standards, which help make these kinds of paths predictable and organized.

Is there an open issue you can link to?

Fixes #15

@foresthoffman foresthoffman self-assigned this Mar 9, 2019
Copy link
Contributor

@avelino avelino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kylecarbs kylecarbs merged commit 30d14ee into coder:master Mar 9, 2019
andreimc added a commit to devonlineco/code-server that referenced this pull request Mar 11, 2019
* upstream/master: (35 commits)
  Dockerfile: use relative path instead of $PWD for CMD
  Update docker oneliner and fix clone task
  Clone exact vscode release branch when build task (coder#167)
  Add -t flag to docker example (coder#181)
  Reverts parts of my last PR (coder#177)
  Fix build and Dockerfile issues (coder#176)
  Add nginx reverse proxy guide for selfhosted
  Use a timing-safe equality check for passwords (coder#133)
  Open websocket on same path as page (coder#149)
  Adhere to XDG base directory spec for dataDir and logDir (coder#156)
  Improve github issue template (coder#162)
  Fix typo: environemnt -> environment (coder#159)
  Add back web class
  Move upx compression behind an env flag
  ci: enable travis npm cache (coder#110)
  Improve .dockerignore (coder#111)
  Feature/1.32.0 update (coder#117)
  Update grammar on README (coder#139)
  inital -> initial (coder#135)
  Handle arch in dockerfile and add PR template (coder#109)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adher to the XDG base directory specification
3 participants